package edu.njfu.sas.model;

public class  User {
    private int id;
    private String username;
    private String password;
    private String type;
//    private List<Student>

    private String stuno;

    public User(String username,String password) {
        this.username = username;
        this.password=password;
    }

    public int getId() {
        return id;
    }

    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public String getType() {
        return type;
    }

    public String getStuno() {
        return stuno;
    }

    public void setStuno(String stuno) {
        this.stuno = stuno;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", type='" + type + '\'' +
                ", stuno='" + stuno + '\'' +
                '}';
    }
}
